#ifndef _SPHERE_H_
#define _SPHERE_H_

#include <SEMath/Shape.h>
#include <glm/glm.hpp>

namespace SEngine
{
    class Sphere : public ShapeCRTP<Sphere>
    {
    public:
        Sphere(glm::vec3 pos, float radius) : m_pos(pos), m_radius(radius) {}
        virtual ~Sphere() = default;
        float Radius() { return m_radius; }
        glm::vec3 Pos() { return m_pos; }
        virtual void Transform(glm::mat4 matrix) override;
    private:
        float m_radius;
        glm::vec3 m_pos;
    };
} // namespace SEngine


#endif